package request

import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
	"github.com/flipped-aurora/gin-vue-admin/server/model/business"
	"github.com/flipped-aurora/gin-vue-admin/server/model/common/request"
	"time"
)

type EnterpriseSearch struct {
	business.Enterprise
	StartCreatedAt *time.Time `json:"startCreatedAt" form:"startCreatedAt"`
	EndCreatedAt   *time.Time `json:"endCreatedAt" form:"endCreatedAt"`
	request.PageInfo
}

type EnterpriseUpdate struct {
	global.GVA_MODEL
	Name       string `json:"name" form:"name" gorm:"column:name;comment:分类名称;size:20;" verify:"分类名称"`        //分类名称
	ClassifyId int    `json:"classifyId" form:"classifyId" gorm:"column:classify_id;comment:企业分类Id;size:12;"` //企业分类Id
	Msg        string `json:"msg" form:"msg" gorm:"column:msg;comment:msg;size:512;"`                         //企业信息
}
